package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资产信息基础管理对象 property_basics_info
 * 
 * @author ruoyi
 * @date 2023-02-08
 */
public class PropertyBasicsInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 资产code */
    @Excel(name = "资产code")
    private String code;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String name;

    /** 是否入库(Y:已入库,N:已出库) */
    @Excel(name = "是否入库(Y:已入库,N:已出库)")
    private String isStorage;

    /** 仓库code */
    @Excel(name = "仓库code")
    private String warehouseCode;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 是否借出(Y:已借出,N:已归还) */
    @Excel(name = "是否借出(Y:已借出,N:已归还)")
    private String isLoan;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIsStorage(String isStorage) 
    {
        this.isStorage = isStorage;
    }

    public String getIsStorage() 
    {
        return isStorage;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setIsLoan(String isLoan) 
    {
        this.isLoan = isLoan;
    }

    public String getIsLoan() 
    {
        return isLoan;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("isStorage", getIsStorage())
            .append("warehouseCode", getWarehouseCode())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("isLoan", getIsLoan())
            .toString();
    }
}
